<?php

namespace Tests\Browser\Pages\Wechat;

use Tests\Browser\Pages\Wechat\Contracts\WechatAbstractPage;

class UserInfoPage extends WechatAbstractPage
{
    const PAGE_LOADED_TEXT = "男";
    /**
     * Get the URL for the page.
     *
     * @return string
     */
    public function url()
    {
        return $this->spaRouteUrl('/information');
    }

    /**
     * Get the element shortcuts for the page.
     *
     * @return array
     */
    public function elements()
    {
        return [
            '@submit' => '.button',
        ] + parent::elements();
    }
}
